package com.kgcx.coupon.mapper;

import com.kgcx.coupon.domain.AppointMutex;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @description 指定互斥明细
 * @author 何凯
 * @version 0.1
 * @time 2017/12/12 14:32
 * @since 0.1
 */
@Repository
public interface AppointMutexMapper {

    int insert(AppointMutex record);

    void insertByBatch(List<AppointMutex> list);

    int insertSelective(AppointMutex record);

    int updateByPrimaryKeySelective(AppointMutex record);

    AppointMutex selectByPrimaryKey(Integer kid);

     List<AppointMutex> selectByPlanId(Integer kid);

     int deleteByPrimaryKey(Integer kid);

     int deleteByPlanId(Integer planId);

}
